import request from '@/utils/request'
export function getTreeData(params) {
    return request({
        url: '/app/proj/getTreeData',
        method:'get',
        params: params
    })
}
export function queryById(params,type) {
    return request({
        url: '/app/proj/queryById',
        method:'get',
        params:params,
        type:type
    })
}
export function save(data,params) {
    return request({
        url: '/app/proj/save',
        method:'post',
        data: data,
        params:params
    })
}
export function update(data) {
    return request({
        url: '/app/proj/update',
        method:'put',
        data: data
    })
}
export function del(params,type) {
    return request({
        url: '/app/proj/delete',
        method:'delete',
        params:params,
        type:type
    })
}


export function list(params,type) {
    return request({
        url: '/app/proj/list',
        method:'get',
        params:params,
        type:type
    })
}
export function projChange(params) {
    return request({
        url: '/app/proj/projChange',
        method:'put',
        params:params
    })
}

export function summarize(params,type) {
    return request({
        url: '/app/proj/summarize',
        method:'get',
        params:params,
		type:type
    })
}
export function getMeetProj(params,type) {
    return request({
        url: '/app/proj/getMeetProj',
        method:'get',
        params:params,
		type:type
    })
}
